package cn.knightzz.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author knightzz
 * @since 2021-05-19
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="SysUserEvent对象", description="")
public class SysUserEvent implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键id")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "事件id")
    private Long eventId;

    @ApiModelProperty(value = "当前处理事件的网格员的用户id, 如果事件状态是上报中, 代表上报人的id")
    private Long userId;

    @ApiModelProperty(value = "事件当前状态: 未完成:1 已完成:2, 上报中: 3")
    private Integer status;


}
